package com.panghl.service;

import com.panghl.domain.ResponseResult;
import com.panghl.domain.User;

/**
 * @Author panghl
 * @Date 2022/2/12
 **/
public interface LoginService {
    /**
     * 登录
     * @param user
     * @return
     */
    ResponseResult login(User user);

    /**
     * 用户退出
     * @return
     */
    ResponseResult logout();
}
